package com.gdpa.service;

import com.gdpa.entity.DistrArea;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 分销区域表 服务类
 * </p>
 *
 * @author zsr
 * @since 2018-12-19
 */
public interface IDistrAreaService extends IService<DistrArea> {
    boolean AreaIsExist(@Param("area") String area);
    void addArea(String area);
    List<DistrArea> findArea(String area);
    Integer deleteArea(String area);
    Integer updateArea(String area,String old);
}
